package cn.quevo.cube.provide.data.enums;


import cn.quevo.common.enums.EnumsInterface;

/**
 * 序列格式化枚举
 *
 * @author July july_sky@foxmail.com
 * @version 1.0
 * @date 2018/4/17 下午9:59
 * @Copyright ©2015-2035 湘豫(北京)科技有限公司. All Rights Reserved.
 */
public enum SequenceFormatter implements EnumsInterface {

    YMD("YYYYMMDD", "年月日"),
    YMDH("YYYYMMDDHH24", "年月日小时"),
    YMDHMI("YYYYMMDDHH24MI", "年月日时分"),
    YMDHMISS("YYYYMMDDHH24MISS", "年月日时分秒"),
    YMDHMISSMS("YYYYMMDDHH24MISS", "年月日时分秒毫秒");

    private String code;
    private String value;

    SequenceFormatter(String code, String value) {
        this.code = code;
        this.value = value;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getValue() {
        return this.value;
    }
}
